<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <title>考试列表 - 交通运输人员就业与再就业教育培训平台</title>
    <meta th:replace="~{head/head_include ::  title}"/>
    <link rel="stylesheet" th:href="@{/head_res/bootstrapvalidator/css/form-validation.css}">
    <script type="text/javascript" th:src="@{/head_res/bootstrapvalidator/js/form-validation.js}"></script>
    <script type="text/javascript" charset="utf-8" th:src="@{/head_res/ueditor/ueditor.config.js}"></script>
    <script type="text/javascript" charset="utf-8" th:src="@{/head_res/ueditor/ueditor.all.min.js}"> </script>
    <!--建议手动加在语言，避免在ie下有时因为加载语言失败导致编辑器加载失败-->
    <!--这里加载的语言文件会覆盖你在配置项目里更新的语言类型，比如你在配置项目里配置的是英文，这里加载的中文，那最后就是中文-->
    <script type="text/javascript" charset="utf-8" th:src="@{/head_res/ueditor/lang/zh-cn/zh-cn.js}"></script>
</head>
<body>
<meta th:replace="~{head/head_include ::  header}"/>
<div class="container">
    <form id="form" class="form-horizontal" th:action="@{/head/train/examScoreDescInsertSubmit}" method="post">
        <input type="hidden" name="entity.examId" th:value="${one.id }">
        <div class="row">
            <div class="col-sm-11 col-sm-offset-1">
                <h2 class="form-signin-heading text-center" id="header_title" th:text="${one.name }"></h2>
                <div class="table-responsive mt-2">
                    <table class="table table-striped table-hover">
                        <tbody>
                        <tr>
                            <td>开始时间:<span th:text="${#dates.format(one.examObj?.stTime,'yyyy-MM-dd HH:mm:ss')}"></span></td>
                            <td>结束时间:<span th:text="${#dates.format(one.examObj?.edTime,'yyyy-MM-dd HH:mm:ss')}"></span></td>
                            <td>难度:<span th:text="${one.examObj?.hardStar}"></span></td>
                            <td>类型:<span th:text="${one.examObj?.examTypeStr}"></span></td>
                            <td>姓名:<span th:text="${session.usersSess.name}"></span></td>
                            <td>成绩:<span th:text="${one.score}"></span></td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
        <!-- 单选题 -->
        <div class="row">
            <div class="col-sm-11 col-sm-offset-1 main">
                <h5 class="col-sm-11 col-sm-offset-1 form-signin-heading" id="header_title">题目列表</h5>
                <table class="table table-striped table-hover">
                    <tbody>
                        <tr>
                            <td>序号</td>
                            <td>名称</td>
                            <td>类型</td>
                            <td>是否正确</td>
                            <td>分数</td>
                        </tr>
                        <th:block th:each="listTemp : ${one.scoreDetailList }">
                            <tr>
                                <td th:text="${listTempStat.index + 1}"></td>
                                <td th:text="${listTemp.name }"></td>
                                <td th:text="${listTemp.askTypeStr }"></td>
                                <td th:text="${listTemp.corrTypeStr }"></td>
                                <td th:text="${listTemp.score }"></td>
                            </tr>
                        </th:block>
                    </tbody>
                </table>
            </div>
        </div>
    </form>
</div>
<meta th:replace="~{head/head_include ::  footer}"/>
</body>
</html>